package com.ruoyi.net.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网元-接口-以太网对象 element_port_eth
 * 
 * @author net
 * @date 2024-11-17
 */
public class ElementPortEth extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 网元id */
    @Excel(name = "网元id")
    private String elementId;

    /** 单盘 */
    @Excel(name = "单盘")
    private String diskName;

    /** 端口 */
    @Excel(name = "端口")
    private String terminalName;

    /** 接口名 */
    @Excel(name = "接口名")
    private String portName;

    /** 端口使能 */
    @Excel(name = "端口使能")
    private String terminalEnable;

    /** 光电模式 */
    @Excel(name = "光电模式")
    private String fiberOrCopper;

    /** 工作模式 */
    @Excel(name = "工作模式")
    private String workMode;

    /** 最大帧长度(bytes) */
    @Excel(name = "最大帧长度(bytes)")
    private String maxFrameLen;

    /** 端口模式 */
    @Excel(name = "端口模式")
    private String terminalMode;

    /** MPLS使能 */
    @Excel(name = "MPLS使能")
    private String mplsEnable;

    /** 主用IPV4地址 */
    @Excel(name = "主用IPV4地址")
    private String ip;

    /** IPV4地址指定形式 */
    @Excel(name = "IPV4地址指定形式")
    private String ipForm;

    /** 主用IPV4地址掩码 */
    @Excel(name = "主用IPV4地址掩码")
    private String mask;

    /** 端口速率类型 */
    @Excel(name = "端口速率类型")
    private String terminalSpeedType;

    /** 用户终结模式 */
    @Excel(name = "用户终结模式")
    private String userEndMode;

    /** 接口描述 */
    @Excel(name = "接口描述")
    private String portDesc;

    /** MAC地址 */
    @Excel(name = "MAC地址")
    private String mac;

    /** 带宽(Mbps) */
    @Excel(name = "带宽(Mbps)")
    private String mbps;

    /** 默认Vlan使能 */
    @Excel(name = "默认Vlan使能")
    private String vlanEnable;

    /** 默认Vlan */
    @Excel(name = "默认Vlan")
    private String vlan;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setElementId(String elementId) 
    {
        this.elementId = elementId;
    }

    public String getElementId() 
    {
        return elementId;
    }
    public void setDiskName(String diskName) 
    {
        this.diskName = diskName;
    }

    public String getDiskName() 
    {
        return diskName;
    }
    public void setTerminalName(String terminalName) 
    {
        this.terminalName = terminalName;
    }

    public String getTerminalName() 
    {
        return terminalName;
    }
    public void setPortName(String portName) 
    {
        this.portName = portName;
    }

    public String getPortName() 
    {
        return portName;
    }
    public void setTerminalEnable(String terminalEnable) 
    {
        this.terminalEnable = terminalEnable;
    }

    public String getTerminalEnable() 
    {
        return terminalEnable;
    }
    public void setFiberOrCopper(String fiberOrCopper) 
    {
        this.fiberOrCopper = fiberOrCopper;
    }

    public String getFiberOrCopper() 
    {
        return fiberOrCopper;
    }
    public void setWorkMode(String workMode) 
    {
        this.workMode = workMode;
    }

    public String getWorkMode() 
    {
        return workMode;
    }
    public void setMaxFrameLen(String maxFrameLen) 
    {
        this.maxFrameLen = maxFrameLen;
    }

    public String getMaxFrameLen() 
    {
        return maxFrameLen;
    }
    public void setTerminalMode(String terminalMode) 
    {
        this.terminalMode = terminalMode;
    }

    public String getTerminalMode() 
    {
        return terminalMode;
    }
    public void setMplsEnable(String mplsEnable) 
    {
        this.mplsEnable = mplsEnable;
    }

    public String getMplsEnable() 
    {
        return mplsEnable;
    }
    public void setIp(String ip) 
    {
        this.ip = ip;
    }

    public String getIp() 
    {
        return ip;
    }
    public void setTerminalSpeedType(String terminalSpeedType) 
    {
        this.terminalSpeedType = terminalSpeedType;
    }

    public String getTerminalSpeedType() 
    {
        return terminalSpeedType;
    }
    public void setUserEndMode(String userEndMode) 
    {
        this.userEndMode = userEndMode;
    }

    public String getUserEndMode() 
    {
        return userEndMode;
    }
    public void setPortDesc(String portDesc) 
    {
        this.portDesc = portDesc;
    }

    public String getPortDesc() 
    {
        return portDesc;
    }
    public void setMac(String mac) 
    {
        this.mac = mac;
    }

    public String getMac() 
    {
        return mac;
    }
    public void setMbps(String mbps) 
    {
        this.mbps = mbps;
    }

    public String getMbps() 
    {
        return mbps;
    }
    public void setVlanEnable(String vlanEnable) 
    {
        this.vlanEnable = vlanEnable;
    }

    public String getVlanEnable() 
    {
        return vlanEnable;
    }
    public void setVlan(String vlan) 
    {
        this.vlan = vlan;
    }

    public String getVlan() 
    {
        return vlan;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getIpForm() {
        return ipForm;
    }

    public void setIpForm(String ipForm) {
        this.ipForm = ipForm;
    }

    public String getMask() {
        return mask;
    }

    public void setMask(String mask) {
        this.mask = mask;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("elementId", getElementId())
            .append("diskName", getDiskName())
            .append("terminalName", getTerminalName())
            .append("portName", getPortName())
            .append("terminalEnable", getTerminalEnable())
            .append("fiberOrCopper", getFiberOrCopper())
            .append("workMode", getWorkMode())
            .append("maxFrameLen", getMaxFrameLen())
            .append("terminalMode", getTerminalMode())
            .append("mplsEnable", getMplsEnable())
            .append("ip", getIp())
                .append("ipForm", getIpForm())
                .append("mask", getMask())
            .append("terminalSpeedType", getTerminalSpeedType())
            .append("userEndMode", getUserEndMode())
            .append("portDesc", getPortDesc())
            .append("mac", getMac())
            .append("mbps", getMbps())
            .append("vlanEnable", getVlanEnable())
            .append("vlan", getVlan())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
